<?php
define( 'PS_APP_PATH', dirname( __FILE__ ) );
require_once( PS_APP_PATH . '/../vendor/simpletest/autorun.php');
require_once( PS_APP_PATH . '/../source/ps_MetaBase_Driver.php');

class TestOf_ps_MetaBase_Driver extends UnitTestCase {

  function testApplyConfig() {
	$driverConfig = array( 'name'=>'MockDriver', 'foo'=>'bar' );
	$driver = new ps_MetaBase_Driver( $driverConfig );
	$this->assertEqual( $driver->getConfig('name') , 'MockDriver');
  }
}
?>

